﻿using System.Collections.ObjectModel;
using StockholmsStad.Windows.UI.Modules.Maintenance.Interfaces;
using StockholmsStad.Windows.UI.Modules.Maintenance.Models;

namespace StockholmsStad.Windows.UI.Modules.Maintenance.Presenters
{
    public class FilingPresenter
    {
        private readonly FilingListPresenter listPresenter;
        public FilingPresenter(IFilingView view, FilingListPresenter presenter)
        {
            View = view;
            View.Model = new FilingPresentationModel();

            listPresenter = presenter;
            View.SetContent(listPresenter.View);
        }

        public IFilingView View { get; set; }
    }
}
